package com.ruoyi.project.beautyflower.loanSetting.mapper;

import com.ruoyi.project.beautyflower.loanSetting.domain.LoanSetting;
import java.util.List;	

/**
 * 贷款设置 数据层
 * 
 * @author lxs
 * @date 2018-10-09
 */
public interface LoanSettingMapper 
{
	/**
     * 查询贷款设置信息
     * 
     * @param id 贷款设置ID
     * @return 贷款设置信息
     */
	public LoanSetting selectLoanSettingById(Integer id);
	
	/**
     * 查询贷款设置列表
     * 
     * @param loanSetting 贷款设置信息
     * @return 贷款设置集合
     */
	public List<LoanSetting> selectLoanSettingList(LoanSetting loanSetting);
	
	/**
     * 新增贷款设置
     * 
     * @param loanSetting 贷款设置信息
     * @return 结果
     */
	public int insertLoanSetting(LoanSetting loanSetting);
	
	/**
     * 修改贷款设置
     * 
     * @param loanSetting 贷款设置信息
     * @return 结果
     */
	public int updateLoanSetting(LoanSetting loanSetting);
	
	/**
     * 删除贷款设置
     * 
     * @param id 贷款设置ID
     * @return 结果
     */
	public int deleteLoanSettingById(Integer id);
	
	/**
     * 批量删除贷款设置
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteLoanSettingByIds(String[] ids);
	
}